package model

import business.Blockable
import org.itheima.kotlin.game.core.Painter

/**
 * created by lucus on 2019/4/4
 * e-mail: mcphilex1989@gmail.com
 * phone: 15652608401
 */
class Water(override val x: Int, override val y: Int) :Blockable {

    override val width: Int = BaseConfig.GAME_UNIT
    override val height: Int = BaseConfig.GAME_UNIT

    override fun draw() {
        Painter.drawImage("img/water.gif", x, y)
    }
}